package cn.hy.visit;

public class PearMilkTea implements MilkTea {


    private final double price;

    public PearMilkTea(double price) {
        this.price = price;
    }

    public double getPrice() {
        return price;
    }

    public void accept(Member member) {
        member.visit(this);
    }
}
